import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Routes, RouterModule } from '@angular/router';
import { SharedModule } from '@shared';
import { OrderService } from './order.service';
import { TablepanelComponent } from './tablepanel/tablepanel.component';

const routes: Routes = [
  { path: 'table', component: TablepanelComponent }
];

@NgModule({
  declarations: [TablepanelComponent],
  imports: [
    CommonModule,
    RouterModule.forChild(routes),
    SharedModule
  ],
  providers: [OrderService]
})
export class OrderModule { }